package org.truenewx.tnxjeex.unit.repo.mybatis.type;

import org.truenewx.tnxjeex.unit.model.MeasureUnit;
import org.truenewx.tnxjeex.unit.support.MeasureUnits;

public class MeasureUnitTypeHandler extends AbstractMeasureUnitTypeHandler<MeasureUnit<?>> {

    @Override
    protected MeasureUnit<?> parse(String value) {
        return MeasureUnits.getInstance().fromValue(value);
    }

}
